const path = require('path');
module.exports = {
    entry: {
        'bundle1': path.join(__dirname, 'index1.js'),
        'bundle2': path.join(__dirname, 'index2.js')
    },
    output: {
        filename: '[name].js',
        path: path.join(__dirname, 'dist')
    },
    mode: "production"
};